home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / code_edt / caddie10 / msgbox.tx_ / msgbox.tx
Encoding:
Text File  |  1996-03-19  |  1.1 KB  |  27 lines

  1. msgbox
  2. Message box constants
  3.  
  4. ' MsgBox parameters
  5. Global DgDef, Msg, Response, Title
  6. Global Const MB_OK = 0                 ' OK button only
  7. Global Const MB_OKCANCEL = 1           ' OK and Cancel buttons
  8. Global Const MB_ABORTRETRYIGNORE = 2   ' Abort, Retry, and Ignore buttons
  9. Global Const MB_YESNOCANCEL = 3        ' Yes, No, and Cancel buttons
  10. Global Const MB_YESNO = 4              ' Yes and No buttons
  11. Global Const MB_RETRYCANCEL = 5        ' Retry and Cancel buttons
  12.  
  13. Global Const MB_ICONSTOP = 16          ' Critical message
  14. Global Const MB_ICONQUESTION = 32      ' Warning query
  15. Global Const MB_ICONEXCLAMATION = 48   ' Warning message
  16. Global Const MB_ICONINFORMATION = 64   ' Information message
  17.  
  18. Global Const MB_APPLMODAL = 0          ' Application Modal Message Box
  19. Global Const MB_DEFBUTTON1 = 0         ' First button is default
  20. Global Const MB_DEFBUTTON2 = 256       ' Second button is default
  21. Global Const MB_DEFBUTTON3 = 512       ' Third button is default
  22. Global Const MB_SYSTEMMODAL = 4096      'System Modal
  23.  
  24. Global Const IDYES = 6
  25. Global Const IDNO = 7
  26. Global Const IDOK = 1
  27.